.custom-list-editor {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  flex-grow: 0.9;
  padding: 15px;
  .custom-list-editor-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 0 0 auto;
    border-bottom: 1px solid $medium-gray;

    .edit-custom-list-title {
      width: 100%;
    }

    > div {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .save-or-cancel-list {
      padding-top: 20px;
    }

    .custom-list-filters {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    h3 {
      display: inline-block;
      hyphens: auto;

      .form-group {
        display: inline-block;
      }
    }
  }

  .form-inline {
    display: flex;
    align-items: center;
    fieldset {
      width: 60%;
      height: 100%;
      input {
        width: 100%;
        margin: 0;
      }
    }
    button {
      align-self: flex-end;
      margin-bottom: 8.5px;
    }
  }

  .custom-list-editor-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 10px;
    height: 60%;
    width: 100%;
    .custom-list-editor-panels {
      width: 100%;
    }
    .collections {
      width: 100%;
      .form-group {
        float: left;
        margin-right: 15px;
        margin-bottom: 2px;
      }
    }

    form {
      margin: 0;
      padding: 0;
    }

    .entry-points {
      display: block;
      margin: 0 0 10px;
      width: 100%;

      .form-group {
        display: inline-block;
        margin: 5px 20px 0 2px;

        input {
          width: auto;
        }
      }
    }
  }

  button span {
    svg {
      float: unset;
      vertical-align: unset;
      height: 0.9em;
      margin-left: 0.5em;
    }
  }
}

fieldset.search-options.well {
  display: block;
  width: unset;
  padding-bottom: 20px;
  ul,
  section {
    list-style: none;
    width: 100%;
    margin: auto;
    padding: 15px;
    border-radius: 4px 4px 0 0;
    border-left: 1px solid $blue-dark;
    border-right: 1px solid $blue-dark;
    border-top: 1px solid $blue-dark;
    li .form-group {
      margin: 0;
    }
  }
  section {
    border-bottom: 1px solid $blue-dark;
    border-radius: 4px;
  }
  p {
    border-left: 1px solid $blue-dark;
    border-right: 1px solid $blue-dark;
    margin: 0 auto;
    &:last-child {
      border-bottom: 1px solid $blue-dark;
      border-radius: 0 0 4px 4px;
    }
    font-size: 14px;
    padding: 0 0 5px 15px;
    i {
      display: block;
      width: 90%;
      padding-top: 5px;
      border-top: 1px solid $dark-gray;
    }
  }
}

.search-titles {
  width: 100%;
  .panel {
    margin: 5px 0 10px 0;
  }
  br {
    display: none;
  }
  button {
    margin: 0;
  }
}
